package com.robust.javamodify

import org.gradle.api.Plugin
import org.gradle.api.Project

/*
    javassist使用指南
    https://blog.csdn.net/mChenys/article/details/122901039


    https://github.com/jboss-javassist/javassist
 */
class ModifyPlugin implements Plugin<Project> {

    @Override
    void apply(Project project) {
        print("测试robust 热修复")
        project.android.registerTransform(new ModifyTransform(project))

    }
}